FROM java:8
VOLUME /tmp
ADD business-0.0.1-SNAPSHOT.jar business.jar
RUN bash -c 'touch /business.jar'
EXPOSE 1010
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/business.jar"]